/*
 * Copyright (c) 1994-2017, Joyoung Stock CO.LTD.
 * The FWJR Project.
 * All Rights Reserved.
 */

package com.rest.business;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;



@IntDef(value = {VerificationCodeType.TYPE_REGISTER, VerificationCodeType.TYPE_FIND_PWD,
        VerificationCodeType.TYPE_MODIFY_PHONE_NUM, VerificationCodeType.TYPE_VALIDATE_OLD_PHONE_NUM,
        VerificationCodeType.TYPE_QUICK_LOGIN, VerificationCodeType.TYPE_VALIDATE_PHONE_NUM})
@Retention(RetentionPolicy.CLASS)
public @interface VerificationCodeType {
    /**
     * 注册用
     */
    int TYPE_REGISTER = 0;

    /**
     * 找回密码用
     */
    int TYPE_FIND_PWD = 1;

    /**
     * 修改手机号用
     */
    int TYPE_MODIFY_PHONE_NUM = 2;

    /**
     * 验证原手机号用
     */
    int TYPE_VALIDATE_OLD_PHONE_NUM = 3;

    /**
     * 手机号快捷登录用
     */
    int TYPE_QUICK_LOGIN = 4;

    /**
     * 用户手机号码身份确认用
     */
    int TYPE_VALIDATE_PHONE_NUM = 5;
}
